package com.intellagric.agriecom.module.agriecom_produce;

import com.intellagric.pojo.AgriecomProduce;

import java.io.Serializable;

public class ProduceResult extends AgriecomProduce implements Serializable {
    public ProduceResult(){}

    public ProduceResult(AgriecomProduce produce){
        this.setProduceId(produce.getProduceId());
        this.setProduceName(produce.getProduceName());
        this.setIsHot(produce.getIsHot());
        this.setProduceBrief(produce.getProduceBrief());
        this.setProduceParameter(produce.getProduceParameter());
        this.setPrice(produce.getPrice());
        this.setUnit(produce.getUnit());
        this.setStock(produce.getStock());
        this.setSourceCode(produce.getSourceCode());
        this.setMerchantId(produce.getMerchantId());
        this.setProducingArea(produce.getProducingArea());
        this.setProduceImg(produce.getProduceImg());
        this.setProduceVideo(produce.getProduceVideo());
        this.setAuditId(produce.getAuditId());
        this.setAuditTime(produce.getAuditTime());
        this.setStatus(produce.getStatus());
        this.setRemarks(produce.getRemarks());
        this.setCreateBy(produce.getCreateBy());
        this.setCreateDate(produce.getCreateDate());
        this.setUpdateBy(produce.getUpdateBy());
        this.setUpdateDate(produce.getUpdateDate());
        this.setDelFlag(produce.getDelFlag());
        this.setCategoryId(produce.getCategoryId());
        this.setProduceDesc(produce.getProduceDesc());


    }
    private String categoryName;

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}
